<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h2>普通字符串</h2>
        <table>
            <tr>
                <td th:text="'我的名字是：'+${name}"}></td>
            </tr>
        </table>

    <h2>JavaBean对象</h2>
        <table>
            <tr>
                <td>介绍</td>
                <td th:text="${user.name}"></td>
            </tr>
            <tr>
                <td>年龄</td>
                <td th:text="${user['age']}"></td>
            </tr>
            <tr>
                <td>介绍</td>
                <td th:text="${user.getDateil()}"></td>
            </tr>
        </table>

    <h2>List取值</h2>
        <table>
            <tr th:each="item:${userList}">
                <td th:text="${itme}"></td>
            </tr>
        </table>

    <h2>Map取值</h2>
        <table>
            <tr>
                <td>place:</td>
                <td th:text="${map.get('place')}"></td>
            </tr>
            <tr>
                <td>feeling:</td>
                <td th:text="${map['feeling']}"></td>
            </tr>
        </table>

    <h2>Map遍历</h2>
        <table>
            <tr th:each="item:${map}">
                <td th:text="${item.key}"></td>
                <td th:text="${item.value}"></td>
            </tr>
        </table>
</body>
</html>